﻿using PSE.Framework.Communication.Configuration.Adapters;
using System;
using System.Configuration;

using System.ComponentModel;
namespace PSE.Framework.Communication.Configuration.Adapters
{
    public abstract class AdapterActionConfiguration : CommunicationConfigurationElement
    {

        //private AdapterConfiguration _adapter;
        //internal AdapterConfiguration Adapter
        //{
        //    get
        //    {
        //        return _adapter;
        //    }
        //    set
        //    {
        //        _adapter = value;
        //    }
        //}

        //[ConfigurationProperty("converter", IsRequired = false)]
        //[TypeConverter(typeof(TypeNameConverter))]
        //public Type Converter
        //{
        //    get
        //    {
        //        return (Type)this["converter"];
        //    }
        //    set
        //    {
        //        this["converter"] = value;
        //    }
        //}

        [ConfigurationProperty("name", IsRequired = true)]
        public string Name
        {
            get
            {
                return (string)this["name"];
            }
        }

    }//end AdapterActionConfiguration

}